import request from '@/utils/request'

// 查询问题解决列表
export function listQue(query) {
  return request({
    url: '/employment/question/que/list',
    method: 'get',
    params: query
  })
}

// 查询问题解决详细
export function getQue(id) {
  return request({
    url: '/employment/question/que/' + id,
    method: 'get'
  })
}

// 新增问题解决
export function addQue(data) {
  return request({
    url: '/employment/question/que',
    method: 'post',
    data: data
  })
}

// 修改问题解决
export function updateQue(data) {
  return request({
    url: '/employment/question/que',
    method: 'put',
    data: data
  })
}

// 删除问题解决
export function delQue(id) {
  return request({
    url: '/employment/question/que/' + id,
    method: 'delete'
  })
}

//解决问题
export function resolveProblem(id) {
  return request({
    url: '/employment/question/que/' + id,
    method: 'put'
  })
}
// //问题移交
// export function transferQue(transferData) {
//   return request({
//     url: '/employment/question/que/',
//     method: 'put',
//     data: {
//       queId : transferData.queId,
//       teacherName: transferData.teacherName
//     }
//   })
// }
